Extra lines in 2nd before 12 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line Δ12; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 12:19)
/* You may incorporate this sample code into your applications without
** restriction, though the sample code has been provided "AS IS" and the
** responsibility for its operation is 100% yours. However, what you are
** not permitted to do is to redistribute the source as "DSC Sample Code"
** after having made changes. If you're going to re-distribute the source,
** we require that you make it clear in the source that the code was
** descended from Apple Sample Code, but that you've made changes. */
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 281:282; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 289:290)
short thisNum, teNum, listNum, i, oldVal, newVal, dpass;
Boolean hitFrame, hitScrollBar, tracked;
short thisNum, teNum, listNum, i, oldVal, newVal, dpass, part;
if (!hasBalloon) ControlBalloonHelp(nil, mouseLoc);
return(0);
}
if (!window) return(0);
org = window->portRect;
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 323:328; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 364:369)
if (WhichControl(evt.where, 0, window, &ctl)) {
/* WhichControl also finds inactive controls. We need this for scrollbars.
** If an inactive scrollbar is hit, we should activate the related
** TextEdit or List control. */
hitScrollBar = IsScrollBar(ctl);
if (WhichControl(evt.where, 0, window, retCtl)) {
/* WhichControl also finds inactive controls. We need this for scrollbars.
** If an inactive scrollbar is hit, we should activate the related
** TextEdit or List control. */
hitScrollBar = IsScrollBar(*retCtl);
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 333; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 374)
FindControl(evt.where, window, &ctl);
FindControl(evt.where, window, retCtl);
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 339; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 380)
ctlNum = Ctl2CNum(ctl);
ctlNum = Ctl2CNum(*retCtl);
Extra lines in 2nd before 348 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line Δ348; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 389)
SetOrigin(org.left, org.top);
Extra lines in 2nd before 355 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line Δ355; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 397)
SetOrigin(org.left, org.top);
Extra lines in 2nd before 363 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line Δ363; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 406)
SetOrigin(org.left, org.top);
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 369:381; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 413:422)
if ((*gcteClick)(window, event, &action)) { /* If click is for TextEdit control... */
if (action == -1) {
teCtl = (*gcteViewFromTE)(CTEFindActive(window));
teData = (CTEDataHndl)(*teCtl)->contrlData;
mode = (*teData)->mode;
if (!(mode & cteTwoStep))
(*gcteClick)(window, event, &action);
}
EndContent(window);
if (retCtl)
*retCtl = ctl; /* Return the TextEdit control. */
if (retAction)
*retAction = action; /* Return action taken. */
if ((*gcteClick)(window, event, retAction)) { /* If click for TE control... */
Extra lines in 2nd before 393 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line Δ393; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 434)
SetOrigin(org.left, org.top);
Extra lines in 2nd before 400 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line Δ400; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 442)
SetOrigin(org.left, org.top);
Extra lines in 2nd before 408 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line Δ408; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 451)
SetOrigin(org.left, org.top);
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 414:426; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 458:467)
if ((*gclClick)(window, event, &action)) { /* If click is for List control... */
if (action == -1) { /* Just activated a List control... */
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 475; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 514)
SetStyledCtlValue(nextCtl, (nextCtl == ctl));
SetStyledCtlValue(nextCtl, (nextCtl == *retCtl));
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 480; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 519)
if (GetControlStyle(ctl, &cinfo)) {
if (GetControlStyle(*retCtl, &cinfo)) {
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 510:511; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 549:550)
oldVal -= (*ctl)->contrlMin;
newVal -= (*ctl)->contrlMin;
oldVal -= (**retCtl)->contrlMin;
newVal -= (**retCtl)->contrlMin;
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 533; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 572)
ctl = nil;
*retCtl = nil;
Extra lines in 2nd before 537 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line Δ537; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 576)
SetOrigin(org.left, org.top);
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 539:545; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 579)
if (evt.what != keyDown) {
if (retCtl)
*retCtl = ctl;
if (retAction)
*retAction = action;
return(ctlNum);
}
if (evt.what != keyDown) return(ctlNum);
Extra lines in 2nd before 549 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line Δ549; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 583)
SetOrigin(org.left, org.top);
Extra lines in 2nd before 613 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line Δ613; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 648)
SetOrigin(org.left, org.top);
Extra lines in 2nd before 622 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line Δ622; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 658)
SetOrigin(org.left, org.top);
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 636:641; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 673:675)
EndContent(window);
if (retCtl)
*retCtl = teCtl;
if (retAction)
*retAction = action;
return(Ctl2CNum(teCtl));
SetOrigin(org.left, org.top);
EndContent(window);
return(Ctl2CNum(*retCtl = teCtl));
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 650:655; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 684:686)
EndContent(window); /* Remove the clipping. */
if (retCtl)
*retCtl = listCtl;
if (retAction)
*retAction = action;
return(Ctl2CNum(listCtl));
SetOrigin(org.left, org.top);
EndContent(window); /* Remove the clipping. */
return(Ctl2CNum(*retCtl = listCtl));
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 663:664; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 694:696)
if (ControlKeyEquiv(window, &evt, &ctl, ((pass) ? "\p031900,0D1900" : "\p031900"))) {
if ((*ctl)->contrlRect.left < -8192)
if (ControlKeyEquiv(window, &evt, retCtl, ((pass) ? "\p031900,0D1900" :
"\p031900"))) {
if ((**retCtl)->contrlRect.left < -8192)
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 668; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 700:701)
switch(GetButtonVariant(ctl)) {
SelectButton(*retCtl);
switch(GetButtonVariant(*retCtl)) {
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 672; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 705:706)
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 683; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 717)
SetStyledCtlValue(nextCtl, (nextCtl == ctl));
SetStyledCtlValue(nextCtl, (nextCtl == *retCtl));
Extra lines in 2nd before 687 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line Δ687; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 721)
SetOrigin(org.left, org.top);
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 690; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 725)
if (GetControlStyle(ctl, &cinfo)) {
if (GetControlStyle(*retCtl, &cinfo)) {
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 718:720; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 753)
if (retCtl)
*retCtl = ctl;
return(Ctl2CNum(ctl));
return(Ctl2CNum(*retCtl));
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 731:738; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 764:768)
action = (*gcteKey)(window, &evt); /* Allow key to be processed by TextEdit control. */
EndContent(window);
ctl = (*gcteViewFromTE)(te);
if (retCtl)
*retCtl = ctl;
if (retAction)
*retAction = action;
return(Ctl2CNum(ctl));
*retAction = (*gcteKey)(window, &evt); /* Allow processing by TE control. */
SetOrigin(org.left, org.top);
EndContent(window);
*retCtl = (*gcteViewFromTE)(te);
return(Ctl2CNum(*retCtl));
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:CtlHandler.c"; Line 746:752; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:CtlHandler.c"; Line 776:779)